@import './base.less';

#app {
  max-width: 1024px;
  margin: 0 auto;
  font-weight: normal;
  height: 100%;
  background: var(--color-background);
}
/*初始化样式*/
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
}

button,
input,
select,
textarea {
  box-sizing: border-box;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

address,
cite,
dfn,
em,
var {
  font-style: normal;
}

code,
kbd,
pre,
samp {
  font-family: couriernew, courier, monospace;
}

small {
  font-size: 0.12px;
}

div {
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: black
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

legend {
  color: #000;
}

fieldset,
img {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
:root{
  .flex {
    display: flex;

    &.flex-column {
      flex-direction: column;
    }

    &.flex-wrap {
      flex-wrap: wrap;
    }

    &.flex-row {
      flex-direction: row;
    }

    &.flex-center {
      align-items: center;
      justify-content: center;
    }

    &.flex-align-center {
      align-items: center;
    }

    &.flex-align-end {
      align-items: flex-end;
    }

    &.flex-content-end {
      justify-content: flex-end;
    }

    &.flex-content-center {
      justify-content: center;
    }

    &.flex-content-between {
      justify-content: space-between;
    }

    .flex-1 {
      flex: 1;
    }

    .flex-2 {
      flex: 2;
    }

    .flex-3 {
      flex: 3;
    }

    .flex-4 {
      flex: 4;
    }
  }
}